package club.haomoon.core.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "支付配置实体")
public class PayConfigData implements Serializable {

    @TableId(value="id", type= IdType.AUTO)
   @Schema(title = "ID")
    private Integer id;

   @Schema(title = "模版名称")
    private String name;

    @TableField(exist = false)
   @Schema(title = "显示名称")
    private String payWayName;

   @Schema(title = "渠道图标")
    private String icon;

   @Schema(title = "支付方式: [1=余额支付, 2=微信支付, 3=支付宝支付]")
    private Integer payWay;

   @Schema(title = "排序编号")
    private Integer sort;

   @Schema(title = "备注信息")
    private String remark;

   @Schema(title = "配置参数")
    private Object config;
}
